package com.topisv.tms.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.topisv.tms.entity.EcCorePrintRegion;

public interface EcCorePrintRegionDao extends JpaSpecificationExecutor<EcCorePrintRegion>,
		PagingAndSortingRepository<EcCorePrintRegion, Long> {

	EcCorePrintRegion findByAreaNameAndLayers(String areaName,int layers);
	
	List<EcCorePrintRegion> findByAreaName(String areaName);
}
